package net.atomtree.controller;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

/**
 * Created by czk on 2016/1/6.
 */
public class Test {
    public static void main(String[] args) throws IOException {
        FileInputStream input=new FileInputStream("a.html");
        Document document= Jsoup.parse(input,"UTF-8","indexManager\\src\\main\\java\\net\\atomtree\\controller");
        System.out.printf(document.getAllElements().text());
    }
}
